package kxfang.com.common.bean;

import android.bluetooth.BluetoothDevice;

import java.util.List;

/**
 * Created by WL
 * on 2020/8/7
 * Class Content 蓝牙事件
 */
public class BlueBusEvent {

    private int code;
    private BluetoothDevice device;
    private PrintOrderInfo info;
    private List<PrintOrderInfo> list;

    public BlueBusEvent() {
    }

    public BlueBusEvent(int code, PrintOrderInfo info) {
        this.code = code;
        this.info = info;
    }

    public BlueBusEvent(int code, BluetoothDevice device) {
        this.code = code;
        this.device = device;
    }

    public BlueBusEvent(int code, BluetoothDevice device, PrintOrderInfo info) {
        this.code = code;
        this.device = device;
        this.info = info;
    }

    public BlueBusEvent(int code, BluetoothDevice device, List<PrintOrderInfo> list) {
        this.code = code;
        this.device = device;
        this.list = list;
    }

    public List<PrintOrderInfo> getList() {
        return list;
    }

    public void setList(List<PrintOrderInfo> list) {
        this.list = list;
    }

    public PrintOrderInfo getInfo() {
        return info;
    }

    public void setInfo(PrintOrderInfo info) {
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BluetoothDevice getDevice() {
        return device;
    }

    public void setDevice(BluetoothDevice device) {
        this.device = device;
    }
}
